<?php

include_once($templatepath."EntryDetailTemplate.class.php");
include_once($templatepath."BoardEntry.class.php");

$entry = new BoardEntry($data, new EntryDetailTemplate());

print $entry->paint($mode);

?>